package com.example.learn_spring_boot3.service;

import com.example.learn_spring_boot3.entity.ExcelStudent;
import com.example.learn_spring_boot3.utils.ResponseData;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.ArrayList;

public interface ExcelService {

    /**
     * excel上传
     */
    ResponseEntity<ResponseData<Object>> upload(MultipartFile file) throws IOException;

    /**
     * excel下载
     */
    void download(String studentIds, HttpServletResponse response) throws IOException;
}
